#include<stdio.h>


void Print4()
{
    printf("hello world\n");
}

void Print3()
{
    printf("hello world\n");
    Print4();
}

void Print2()
{
    printf("hello world\n");
    Print3();
}

void Print1()
{
    printf("hello world\n");
    Print2();
}


int addToTop(int top)
{
    int res = 0;
    int i =1;
    for(;i<=top;i++)
    {
        res += i;
    }
    return res;
}

int main()
{
    printf("debug begin\n");
    
    int top = 100;
    int sum = addToTop(top);
    printf("sum:%d\n",sum);
    
    Print1();
    printf("debug end\n");
    return 0;
}
